//
//  NSDate+FGChat.h
//  FGChatKit
//
//  Created by Henry on 2021/5/10.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDate (FGChat)

/// 短时间显示，例如：会话列表
/// @param week 是否显示星期，默认不显示
- (NSString *)shortTimeMessageStringAtWeek:(BOOL)week;
- (NSString *)shortTimeMessageString;
- (NSString *)timeMessageString;

+ (NSString *)shortTimeMessageString:(NSString *)timestamp week:(BOOL)week;
+ (NSString *)shortTimeMessageString:(NSString *)timestamp;
+ (NSString *)timeMessageString:(NSString *)timestamp;

@end

NS_ASSUME_NONNULL_END
